<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/9/17
 * Time: 15:49
 */
namespace App\Extensions;

trait AuthenticatesLogout
{
	public function logout(\Request $request)
	{
		$this->guard()->logout();
		return redirect(route('admin.login'));
	}
}